<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core">

    <h:body>
        <div>
            <h:form>
                <div style="float: right; margin-right: 10px;display: inline">

                    Welcome :<h:outputText value="#{employeeManagedBean.emp.empName}" />
                    &nbsp;|
                    <h:commandLink style="color: blue;" action="#{employeeManagedBean.Logout}" value="Logout" />

                </div><div style="color: white">a</div>
            </h:form>
            <p:tabView styleClass="tab_view_top" dynamic="true" cache="true"  style="">

                <p:tab title="Account Profile" id="tab" >
                    <p:tabView dynamic="true" style="border-style: none; width: 100%" >

                        <p:tab title="Main page" >
                            <h:panelGrid columns="2" cellpadding="2">
                                <ui:insert name="mainpage">

                                </ui:insert>
                            </h:panelGrid>
                        </p:tab>


                        <p:tab title="Change Password">
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="changepass_inter">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>

                        <p:tab title="Profile">
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="profile_inter">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>


                    </p:tabView>
                </p:tab>

                <!-- Tab Applicant -->
                <p:tab title="View Schedule Interview" id="tabViewIn" >
                    <p:tabView dynamic="true" style="border-style: none; width: 100%" >
                        <p:tab title="Schedule" >
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="viewschedule">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>
                    </p:tabView>
                </p:tab>
                <!-- Tab vacancy -->

                
                <p:tab title="View Applicant" id="tabViewApp" >
                    <p:tabView dynamic="true" style="border-style: none; width: 100%" >
                        <p:tab title="Vacancy Manager" >
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="viewapplicant">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>

                    </p:tabView>
                </p:tab>

                <p:tab  title="View Vacancy " id="tab4">
                    <p:tabView dynamic="true">
                        <p:tab title="Schedule" >
                            <h:panelGrid columns="1" cellpadding="2">
                                
                                <ui:insert name="viewvacancy">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>



                    </p:tabView>
                </p:tab>

                <p:tab title="Help" id="tab5" >
                    <p:tabView dynamic="true">
                        <p:tab title="Help from System" >
                            <h:panelGrid columns="1" cellpadding="2">

                                <ui:insert name="help">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>



                    </p:tabView>
                </p:tab>


            </p:tabView>

        </div>
    </h:body>
</html>

